[Java] How do I keep a dialog box always on top?

Posted by Daeyun on Stack Overflow See other posts from Stack Overflow or by Daeyun
Published on 2010-04-21T07:40:02Z Indexed on 2010/04/21 7:43 UTC
Read the original article Hit count: 216

Filed under:

I created a dialog box like this:

String response = 
JOptionPane.showInputDialog(null,"message","title",JOptionPane.PLAIN_MESSAGE);

I'd like to keep it always on top of all windows.

Do you have any idea?

Thanks!

© Stack Overflow or respective owner

Related posts about java